package com.kgcx.order.client;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @version 1.0
 * @description
 * @auther 杨麒麟
 * @create 2018/5/29 10:29
 */
@ApiModel(description = "预约派单参数对象")
@Data
public class BookParame {

    public BookParame(){}
    public BookParame(Integer min_time,Integer max_time){
        this.min_time=min_time;
        this.max_time=max_time;
    }
    /**
     * 可预约最短时间，单位分钟，同时也是给预约单调度安排司机的时间
     */
    @ApiModelProperty(position = 1, value = "可预约最短时间，单位分钟，同时也是给预约单调度安排司机的时间", required = true, example = "120")
    private Integer min_time;
    /**
     * 可预约最长时间，单位天
     */
    @ApiModelProperty(position = 2, value = "可预约最长时间，单位天", required = true, example = "3")
    private Integer max_time;
}
